<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .container {
        display: flex;
        width: 400px;
        background-color: #eee;
        height: 40px;
      }

      .first {
        width: 250px;
        background-color: red;
      }

      .second {
        background-color: blue;
        width: 150px;
        flex-basis: auto;
        /* flex-grow: 2; */
        flex-shrink: 2;
      }

      .third {
        width: 50px;
        flex-basis: 100px;
        /* flex-grow: 1; */
        flex-shrink: 2;
        background-color: yellow;
      }
    </style>
  </head>
  <body>
    <div class='container'>
      <div class='first'>11</div>
      <div class='second'>22</div>
      <div class='third'>33</div>
    </div>
  </body>
</html>
